using System;
using System.Collections.Generic;
using System.Text;
using WorldEditSupport;

namespace WorldEdit
{
	public class WorldEditPresenter
	{
		MainForm _mainForm;

		public WorldEditPresenter(MainForm mainForm)
		{
			_mainForm = mainForm;
		}

		public void FileNew()
		{
			_mainForm.Document = new WorldDoc();
		}

		public void LoadFile(string url)
		{
			_mainForm.Document = new WorldDoc(url);
		}
	}
}
